import { IForm } from '@/base-ui/form'

export const modalConfig: IForm = {
  labelWidth: '120px',
  formItems: [
    {
      field: 'id',
      type: 'input',
      label: 'Menu id',
      placeholder: 'Please input menu id'
    },
    {
      field: 'name',
      type: 'input',
      label: 'Menu name',
      placeholder: 'Please input menu name'
    },
    {
      field: 'type',
      type: 'input',
      label: 'Menu class',
      placeholder: 'Please input menu class'
    },
    {
      field: 'icon',
      type: 'input',
      label: 'Menu icon',
      placeholder: 'Please input menu icon'
    },
    {
      field: 'parent_id',
      type: 'input',
      label: 'Menu parentId',
      placeholder: 'Please input menu ParentId'
    },
    {
      field: 'url',
      type: 'input',
      label: 'Menu url',
      placeholder: 'Please input menu url'
    },
    {
      field: 'sort',
      type: 'input',
      label: 'Menu sort',
      placeholder: 'Please input menu sort'
    },
    {
      field: 'permission',
      type: 'input',
      label: 'Permission',
      placeholder: 'Please input menu permission'
    }
  ],
  colLayout: { span: 12 },
  itemStyle: {}
}
